Skip to content

732 add huggingface model support#733

Merged
yiheng-wang-nv merged 14 commits intoProject-MONAI:devfrom
zephyrie:732-add-huggingface-model-support
Mar 21, 2025
Merged

732 add huggingface model support#733
yiheng-wang-nv merged 14 commits intoProject-MONAI:devfrom
zephyrie:732-add-huggingface-model-support

Conversation

@zephyrie
Copy link
Copy Markdown
Collaborator

@zephyrie zephyrie commented Mar 18, 2025

Fixes #732

Description

Adding initial draft of HF Model Folder structure + 5 initial models.

Status

Ready

Please ensure all the checkboxes:

  • Codeformat tests passed locally by running ./runtests.sh --codeformat.
  • In-line docstrings updated.
  • Update version and changelog in metadata.json if changing an existing bundle.
  • Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
  • Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
  • Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
  • Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
  • Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

@zephyrie zephyrie requested review from KumoLiu and Nic-Ma March 18, 2025 16:28
@Nic-Ma
Copy link
Copy Markdown
Collaborator

Nic-Ma commented Mar 18, 2025

/build

@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator

Hi @zephyrie @Nic-Ma , should we consider tests on HF models? May need to discuss about how to test them.

Comment thread hf_models/README.md
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
@yiheng-wang-nv
Copy link
Copy Markdown
Collaborator

/build

@yiheng-wang-nv yiheng-wang-nv enabled auto-merge (squash) March 21, 2025 08:22
@yiheng-wang-nv yiheng-wang-nv merged commit 18b0e58 into Project-MONAI:dev Mar 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding HuggingFace Model Support

4 participants